<template>
	<view class="my-content-info">
		<view class="head-box">
			<view class="head-left">
				<view class="type">订单类型</view>
			</view>
			<view class="head-right">
				<view class="search">自定义查询</view>
			</view>
		</view>
	<view class="list">
		<view class="li-item">
			<view class="date">2023-10-23</view>
			<view class="li-head">
				<view class="li-title">
					<view class="li-title-left">收款笔数</view>
					<view class="li-title-right">共计</view>
				</view>
				<view class="total">
					<view class="total-left">3</view>
					<view class="total-right">
						<view class="total-right-top">收款<view class="red-big">0.03</view></view>
						<view class="total-right-bottom">入账<view class="red-big">0.02</view></view>
					</view>
				</view>
			</view>
			<view class="li-item-child">
				<view class="child-li-li">
					<view class="child-li-li-top">
						<view class="child-li-left">
							5252414265356652
						</view>
						<view class="child-li-right">
							微信
						</view>
					</view>
					<view class="child-li-li-top">
						<view class="child-li-left">
							09:28:30
						</view>
						<view class="child-li-right">
							0.01（入账0.00）
						</view>
					</view>
					
				</view>
				<view class="child-li-li">
					<view class="child-li-li-top">
						<view class="child-li-left">
							5252414265356652
						</view>
						<view class="child-li-right">
							微信
						</view>
					</view>
					<view class="child-li-li-top">
						<view class="child-li-left">
							09:28:30
						</view>
						<view class="child-li-right">
							0.01（入账0.00）
						</view>
					</view>
					
				</view>
			</view>
			
		</view>
	</view>
	<u-picker :show="show" :columns="columns"></u-picker>
	</view>
</template>

<script>
	import {
		getStoreData,
		dealNum,
		setStoreData,
		httpPost,
		httpGet,
	} from "@/utils/http.js";
	const pic1 = require(`@/img/my/my1.png`);
	const avatar = require(`@/img/my/avatar1.jpg`);
	export default {
		data() {
			return {
				show:false,
				src:"",
				columns:[],
				list:[]

			};
		},
		onLoad() {
			this.userInfo = getStoreData("userInfo");
            this.getList();

		},
		methods: {
			getList(){
				let that = this;
				httpPost("/api/sellerstore/defaultSubStoreBillNew",{})
					.then((res) => {
				        that.list=res.data.items||[];
					})
					.catch((e) => {});
			}
		},
	};
</script>

<style lang="scss">
	.my-content-info {
		background-color: #F7F7F7;
		height:100vh;
		
		
	}
	.head-box{
		padding-left: 30rpx;
		padding-right: 30rpx;
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		padding-top: 20rpx;
		padding-bottom: 20rpx;
	}
	.list{
		padding-left: 30rpx;
		padding-right: 30rpx;
		.li-item{
			background-color: #fff;
			padding: 30rpx;
			border-radius: 10rpx;
			font-size: 24rpx;
			.date{
				font-weight: bold;
				padding-bottom: 10rpx;
				border-bottom: 2rpx solid #F7F7F7;
				margin-bottom: 10rpx;
				
			}
			.li-head{
				.li-title{
					display: flex;
					flex-direction: row;
					justify-content: space-between;
				}
				.total{
					display: flex;
					flex-direction: row;
					justify-content: space-between;
					margin-top: 10rpx;
					margin-bottom: 10rpx;
					.total-left{
						font-size: 36rpx;
						font-weight: bold;
						line-height: 96rpx;
					}
					.total-right{
						.total-right-top{
							display: flex;
							flex-direction: row;
							justify-content: space-between;
							line-height: 48rpx;
						}
						.total-right-bottom{
							display: flex;
							flex-direction: row;
							justify-content: space-between;
							line-height: 48rpx;
						}
						.red-big{
							color: #FF4D46;
							font-size: 36rpx;
							font-weight: bold;
						}
					}
				}
				
			}
			.li-item-child{
				.child-li-li{
					
					margin-top: 10rpx;
					margin-bottom: 10rpx;
					.child-li-li-top{
						display: flex;
						flex-direction: row;
						justify-content: space-between;
					}
				}
				
			}
		}
	}
</style>